package com.zy.web.bean;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @program: shopping147_cloud
 * @description:
 * @author: zy
 * @create: 2025-08-02 14:01
 */
@Data
@NoArgsConstructor
public class OrdersItemsDTO implements Serializable {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id; // '订单详情id',
    @JsonSerialize(using = ToStringSerializer.class)
    private Long orderId; // '订单id',
    @JsonSerialize(using = ToStringSerializer.class)
    private Long productId; // '商品id',
    private Integer quantity; // '数量',
    private Double price; // '商品单价',
}
